using System;

namespace TestCases.Utils.Formatters
{
    public class VariableFormatException : FormatException
    {
        private readonly int _position;

        public VariableFormatException(string message, int position) : base(message + " occured at " + position + " position")
        {
            _position = position;
        }

        public int Position
        {
            get { return _position; }
        }
    }
}